package com.shimao.celnet.payment.service.impl;

import com.github.pagehelper.PageHelper;
import com.shimao.celnet.payment.form.PPayForm;
import com.shimao.celnet.payment.form.PPayInfoForm;
import com.shimao.celnet.payment.mapper.PPayBusinessMapper;
import com.shimao.celnet.payment.mapper.PPayDetailMapper;
import com.shimao.celnet.payment.mapper.PPayMapper;
import com.shimao.celnet.payment.mapper.PPayRefundMapper;
import com.shimao.celnet.payment.model.PPay;
import com.shimao.celnet.payment.model.PPayBusiness;
import com.shimao.celnet.payment.model.PPayDetail;
import com.shimao.celnet.payment.service.BHouseService;
import com.shimao.celnet.payment.service.PPayBusinessService;
import com.shimao.celnet.payment.service.PPayService;
import com.shimao.celnet.payment.util.FinalUtil;
import org.apache.log4j.Logger;
import org.apache.shiro.SecurityUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


/**
 * 支付申请信息 管理
 * Created by ensure on 2017/12/3.
 */
@Service
public class PPayBusinessServiceImpl extends BaseServiceImpl<PPayBusiness> implements PPayBusinessService {
    protected Logger logger = Logger.getLogger(this.getClass());

    @Autowired
    private PPayBusinessMapper businessMapper;
    /**
     *
     * @Author Galen
     * @Description //TODO 获取商户信息
     * @Date 14:02 2018/11/20
     * @Param custSfGuid
     * @return PPayBusiness
     */
    @Override
    public PPayBusiness getByGuid(String custSfGuid) {

        return businessMapper.getByGuid(custSfGuid);
    }
}
